package com.newviews.tcmip.pojo.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 实验记录-中草药关系表
 * </p>
 *
 * @author lxc
 * @since 2024-03-13
 */
@Getter
@Setter
@TableName("etcm_experimental_records_ingr")
@ApiModel(value = "EtcmExperimentalRecordsIngrPo", description = "实验记录-成分关系表")
public class EtcmExperimentalRecordsIngrPo implements Serializable{

private static final long serialVersionUID=1L;

    /**
     *
     */
            @TableId("id")
                private String id;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    @TableField("create_time")
        private LocalDateTime createTime;

    /**
     * 创建人id
     */
    @ApiModelProperty("创建人id")
    @TableField("create_user_id")
        private String createUserId;

    /**
     * 修改时间
     */
    @ApiModelProperty("修改时间")
    @TableField("op_time")
        private LocalDateTime opTime;

    /**
     * 修改人id
     */
    @ApiModelProperty("修改人id")
    @TableField("op_user_id")
        private String opUserId;

    /**
     * 状态【0-无效；1-有效；2-已删除】
     */
    @ApiModelProperty("状态【0-无效；1-有效；2-已删除】")
    @TableField("status")
        private Integer status;

    /**
     * 实验记录Id，外键
     */
    @ApiModelProperty("实验记录Id，外键")
    @TableField("er_id")
        private String erId;

    /**
     * 成分Id，外键
     */
    @ApiModelProperty("成分Id，外键")
    @TableField("ingr_id")
        private String ingrId;

    @ApiModelProperty("成分Id，外键")
    @TableField("pubchem_cid")
    private String pubchemCid;

    @ApiModelProperty("成分Id，外键")
    @TableField("molecular_formula")
    private String molecularFormula;

    @ApiModelProperty("成分Id，外键")
    @TableField("molecular_weight")
    private String molecularWeight;


    @ApiModelProperty("成分Id，外键")
    @TableField("celllines")
    private String celllines;

    @ApiModelProperty("成分Id，外键")
    @TableField("orangism")
    private String orangism;

    @ApiModelProperty("成分Id，外键")
    @TableField("concentration")
    private String concentration;

    @ApiModelProperty("成分Id，外键")
    @TableField("is_map")
    private String isMap;

    @TableField(exist = false)
    private String erEnName;

    @TableField(exist = false)
    private String erZhName;

    /**
     *
     */
    public static final String ID ="id";

    /**
     * 创建时间
     */
    public static final String CREATE_TIME ="create_time";

    /**
     * 创建人id
     */
    public static final String CREATE_USER_ID ="create_user_id";

    /**
     * 修改时间
     */
    public static final String OP_TIME ="op_time";

    /**
     * 修改人id
     */
    public static final String OP_USER_ID ="op_user_id";

    /**
     * 状态【0-无效；1-有效；2-已删除】
     */
    public static final String STATUS ="status";

    /**
     * 实验记录Id，外键
     */
    public static final String ER_ID ="er_id";

    /**
     * 成分Id，外键
     */
    public static final String IGNR_ID ="ingr_id";

        }
